package com.bestcem.xm.member.enums;

import com.bestcem.xm.common.core.enums.CommonEnum;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 足迹点类型枚举
 * @date 2021-08-17
 */
public enum FootprintTypeEnum implements CommonEnum {
    /**
     * 联系人
     */
    MEMBER("联系人", 1),

    /**
     * 工单
     */
    TICKET("工单", 2),

    /**
     * 问卷
     */
    SURVEY("问卷", 3);

    private String name;

    private int index;

    FootprintTypeEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    public String getName() {
        return name;
    }
}
